<?
include_once "accesscontrol.php";
include_once "index.php";




$q1 = "update job_admin_login set
		aid = \"$_POST[aid]\", 
		apass = '$_POST[apass]',
		name = '$_POST[name]',
		email = '$_POST[email]'
	
		where aid = \"$aID\" ";
		
$r1 = mysql_query($q1);

echo "<br><br><br><br><center>";
echo "Your info has been updated<br><br><br>";
echo "<a href=admins.php>View Profile</a>";
echo "</center>";


include_once('../footer.php'); ?>